<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.printing.python&rdquo;</title>
        </head>
        <body><h1 class="module">Module s.p.python</h1><span id="part">Part of <a href="sympy.printing.html">sympy.printing</a></span><div class="toplevel"><div class="undocumented">Undocumented</div></div><table class="children"><tr class="class"><td>Class</td><td><a href="sympy.printing.python.PythonPrinter.html">PythonPrinter</a></td><td><div><p>A printer which converts an expression into its Python 
interpretation.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.python.python">python</a></td><td><div><p>Return Python interpretation of passed expression</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.python.print_python">print_python</a></td><td><div><p>Print output of python() function</p>
</div></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.python.python">python(expr):</a></div>
            <div class="functionBody"><div><p>Return Python interpretation of passed expression (can be passed to the 
exec() function without any modifications)</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.python.print_python">print_python(expr):</a></div>
            <div class="functionBody"><div><p>Print output of python() function</p>
</div></div>
            </div></body>
        